package edu.sysu.cshare.util;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Mis {

	public static String formatCalendar(Calendar cal) {
		if (cal == null)
			return "null";

		return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
				.format(cal.getTime());
	}
}
